package com.casic.ops.entity.dto.pipeline;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 通用DTO
 * @author cww
 * @date 2022/6/17
 */
@Data
public class CommonDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    @JSONField(serializeUsing = ToStringSerializer.class)
    private long uuid;
    @JSONField(format="yyyy/MM/dd HH:mm:ss")
    private Date gmtCreate;
    @JSONField(format="yyyy/MM/dd HH:mm:ss")
    private Date gmtModified;
    private String creator;
    private String modifier;
    private String deleted;
}
